
import delimited  "/Users/zerenli1992/Dropbox/revolving_door_jmp/replication_files/ind_pref_panel_jop.csv",clear
set scheme plotplain 

global reg_rd  "~/Dropbox/revolving_door_jmp/result"

lab var recruitment_1 "Join"
lab var subsidy_dum "Previous Subsidy"

global reg_setting lab dec(3)  noas   nocons 

**# Figure A.4: DiD visualization

interflex recruitment_1 subsidy_dum post2013 , ylab("Recruitment") dlab("Subsidy") xlab("") fe(year stkcd jurisdiction) cl(firm) 

reghdfe  recruitment_1 subsidy_dum , absorb(juris_yr  firm_yr) vce(cluster jurisdiction_id)
 margins,    atmeans     
 